<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@page import="com.jimet.process.*"%>
<%@ include file="../includes/webUserAuthenticatedPageStart.jsp" %>
<%
	String strFormId		= request.getParameter("formId")!=null?request.getParameter("formId"):"";
	String strPage 			= (String)session.getAttribute("processPage");
	String strPageIx		= (String)session.getAttribute("processPageIx");
	String strTabPgIx		= (String)session.getAttribute("processTabPageIx");
	String strTabFormId		= (String)session.getAttribute("processTabFormId");
	
	ContentPageParam pageParam	= contentPageController.getContentPage(strPage,strPageIx);
	HeaderPageParam headerParam	= headerPageController.getHeaderPage(strPage,strPageIx);
	
	if ( strTabPgIx != null && ! strTabPgIx.equals("") && strFormId.equals(strTabFormId) )
	{
		pageParam	= contentPageController.getContentPage(strPage,strTabPgIx);
		headerParam	= headerPageController.getHeaderPage(strPage,strTabPgIx);
	}
	
	String header 		= headerParam.getPageHeader();
	String message 		= pageParam.getOnUpdateMsg();
	String button1 		= "Devam";
	String button1Act	= "window.location='"+JimetConfiguration.getString("APPLICATION.URL")+pageParam.getOnUpdatePageRoot()+"/"+pageParam.getOnUpdatePageIx()+"/"+tokenKey+"'";
	String button2 		= "";
	
	session.removeAttribute("processPage");
	session.removeAttribute("processPageIx");
	
%>

<div class="modal-header" id="modal_header">
  	<h3><%=header.replace("//","-")%></h3>
</div>
<div class="modal-body">
	<p><%=message %></p>
</div>
<div class="modal-footer">
	<a href="javascript:<%=button1Act%>" class="m-btn fuskey"><%=button1%></a>
</div>